package com.ls.lserp.modules.common.web;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ls.lserp.common.web.BaseController;

/**
 * 公用Controller
 * @author LiuPeng
 * @version 2013-6-2
 */
@Controller
@RequestMapping(value = "${adminPath}/common")
public class CommonController extends BaseController {

	
	@RequiresPermissions("user")
	@RequestMapping(value = "importExcel")
	public String importExcel(String action, String template,Model model) {
	    model.addAttribute("action", action);
	    model.addAttribute("template", template);
		return "include/importExcel";
	}

}
